import Layout from '@/layout/index.vue'

export default {
  path: '/system',
  name: 'System',
  component: Layout,
  redirect: '/system/user',
  meta: {
    title: '系统管理',
    icon: 'Setting'
  },
  children: [
    {
      path: 'user',
      name: 'User',
      component: () => import('@/views/admin/User.vue'),
      meta: {
        title: '用户管理',
        icon: 'User'
      }
    },
    {
      path: 'role',
      name: 'Role',
      component: () => import('@/views/admin/Role.vue'),
      meta: {
        title: '角色管理',
        icon: 'UserFilled'
      }
    },
    {
      path: 'menu',
      name: 'Menu',
      component: () => import('@/views/admin/Menu.vue'),
      meta: {
        title: '菜单管理',
        icon: 'Menu'
      }
    },
    {
      path: 'settings',
      name: 'Settings',
      component: () => import('@/views/admin/SystemSettings.vue'),
      meta: {
        title: '系统设置',
        icon: 'Tools'
      }
    }
  ]
} 